﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace paddle_ocrlabel
{
    public class PaddleOCR
    {
        public List<PaddleEntity> paddle_result { get; set; }
    }

    public class PaddleEntity
    {
        public int left { get; set; }
        public int top { get; set; }
        public int width { get; set; }
        public int height { get; set; }
        public String text { get; set; }
        public int accuracy { get; set; }
        
        public bool isSelected { get; set; }
        public bool isNew { get; set; }

        public override string ToString()
        {
            return "left:" + left + ", top:" + top + ", width:" + width + ", height:" + height;
        }
    }
}
